<?php
namespace models\entities;
use classes; 
/**
 * @Entity(repositoryClass="models\repositories\LokasiPathRepository")
 * @Table(name="lokasi_path")
 */
class LokasiPath {
 
/**
 * @Id
 * @OneToOne(targetEntity="Lokasi")
 * @JoinColumn(name="lokasi_id", referencedColumnName="id", onDelete="CASCADE")
 * 
 */
	protected $lokasi;

/**
 * @Column(name="path", type="string")
 */
	protected $path;
		
		
	public function setLokasi($lokasi)
	{
	    $this->lokasi = $lokasi;
	}
 
	public function getLokasi()
	{
	    return $this->lokasi;
	}
	
	public function setPath($path){
		$this->path = $path;
	}
	
	public function getPath(){
		return $this->path;
	}	
}